package org.example.pmsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.pmsystem.entity.Recruit;
import org.example.pmsystem.entity.Resume;

import java.util.List;

@Mapper
public interface ResumeMapper extends BaseMapper<Resume> {
    List<Recruit> selectAllRecruit();
    List<Resume> selectResumeByUserid(String id);
    List<Resume> selectResumeByStatus(String status);
    List<Resume> selectResumeByDep(String dep);
    Resume selectResumeByResNo(int resNo);
    int checkResume(Resume resume);
    void insertResume(Resume resume);
    void updateResume(Resume resume);
}
